using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using Service.BAL;

namespace Store
{
    public partial class frProducts : DevComponents.DotNetBar.Office2007Form
    {
        List<LoaiSanPham_BAL> loaiSP;

        public frProducts()
        {
            InitializeComponent();
        }

        private void frProducts_Load(object sender, EventArgs e)
        {
            loaiSP = LoaiSanPham_BAL.GetAll();
            cbTenLoai.DataSource = loaiSP;
            cbTenLoai.ValueMember = "MaLoai";
            cbTenLoai.DisplayMember = "TenLoai";
        }
    }
}